package com.jams.goodox.entity;

import com.google.gson.annotations.SerializedName;
import com.jams.goodox.net.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jams_zhen on 2016/9/23.
 */

public class PaymentBean extends BaseEntity {

    /**
     * roomDetail : 测试内容f1u0
     * yearPayment : [{"needPayNum":60167,"needpayMoney":"测试内容5758","year":"测试内容2oli","yearPayId":"测试内容9w58"}]
     */

    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private String enterpriseName;

        private List<YearPaymentBean> yearPayment;

        public String getRoomDetail() {
            return enterpriseName;
        }

        public void setRoomDetail(String roomDetail) {
            this.enterpriseName = roomDetail;
        }

        public List<YearPaymentBean> getYearPayment() {
            return yearPayment;
        }

        public void setYearPayment(List<YearPaymentBean> yearPayment) {
            this.yearPayment = yearPayment;
        }

        public static class YearPaymentBean implements Serializable{
            @SerializedName("total")
            private int  total;
            @SerializedName("totalPrice")
            private double totalPrice;
            @SerializedName("year")
            private int year;
            private boolean isChoose;

            private double preparePay;

            private int preparePayNum;

            private String yearTitle;

            private int chooseType;//此处标识该年-》月详情，筛选的type类型：0标识全部


            private int typeNeedPayNum;//筛选的type对应的应支付所有项

            public int getTypeNeedPayNum() {
                return typeNeedPayNum;
            }

            public void setTypeNeedPayNum(int typeNeedPayNum) {
                this.typeNeedPayNum = typeNeedPayNum;
            }

            public int getChooseType() {
                return chooseType;
            }

            public void setChooseType(int chooseType) {
                this.chooseType = chooseType;
            }

            private List<TenementMonthBean.DataBean> monthList;

            public String getYearTitle() {
                return yearTitle;
            }

            public void setYearTitle(String yearTitle) {
                this.yearTitle = yearTitle;
            }

            public int getPreparePayNum() {
                return preparePayNum;
            }

            public void setPreparePayNum(int preparePayNum) {
                this.preparePayNum = preparePayNum;
            }

            public double getPreparePay() {
                return preparePay;
            }

            public void setPreparePay(double preparePay) {
                this.preparePay = preparePay;
            }

            public boolean isChoose() {
                return isChoose;
            }

            public void setChoose(boolean isChoose) {
                this.isChoose = isChoose;
            }

            public int getNeedPayNum() {
                return total;
            }

            public void setNeedPayNum(int needPayNum) {
                this.total = needPayNum;
            }

            public double getNeedpayMoney() {
                return totalPrice;
            }

            public void setNeedpayMoney(double needpayMoney) {
                this.totalPrice = needpayMoney;
            }

            public int getYear() {
                return year;
            }

            public void setYear(int year) {
                this.year = year;
            }

            public List<TenementMonthBean.DataBean> getMonthList() {
                return monthList;
            }

            public void setMonthList(List<TenementMonthBean.DataBean> monthList) {
                this.monthList = monthList;
            }
        }
    }
}
